<?php 	
namespace Admin\Controller;
class NewsTypeController extends BaseController{
	function add(){
		$optionOb= D('Type');
		$optionStr=$optionOb->showOption();
		$this->assign('optionStr',$optionStr); 
		$this->display();
	}
	function oper(){
		$newsOb=M('newstype');
		$arr=$newsOb->select();
		
		$this->assign('arr',$arr);
		$this->display();
	}
}